#!/bin/bash
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8


software_dir=/opt
NATIVEFIER_INSTALL=True

declare -A nativefier_dict=(
    [vika]='https://vika.cn/workbench'
    [bilibili]='https://bilibili.com'
)



if NATIVEFIER_INSTALL; then
    echo '#########################################################'
    echo 'Installing nativefier ......'
    echo '#########################################################'
    for key in ${!nativefier_dict[@]}; do
        sudo nativefier -n $key ${nativefier_dict[$key]} $software_dir --tray true
    done
fi
